﻿var fnCustomAdd = function () {
    if (document.getElementById("yui-gen7-button") != null) {
        document.getElementById("yui-gen7-button").style.display = "";
    }
    document.getElementById("EditUIWindow").src = "AutoEditUI.aspx?masterid=" + const_ForeignKey + "&r=" + Math.random() + "&entity=" + const_EditEntity;
    YAHOO.example.container.dialog1.show();

}